<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Calico: calico/sensors/sensor_base.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Calico
   </div>
   <div id="projectbrief">A visual-inertial calibration library designed for rapid problem construction and debugging.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_e7ac338090e46d594d3ea7a0e9efc7ba.html">calico</a></li><li class="navelem"><a class="el" href="dir_a7e6fdbe7254e0dadcd82a69dc076109.html">sensors</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sensor_base.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef CALICO_SENSORS_SENSOR_BASE_H_</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define CALICO_SENSORS_SENSOR_BASE_H_</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;absl/container/flat_hash_map.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;absl/status/status.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;absl/status/statusor.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;calico/optimization_utils.h&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;calico/trajectory.h&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;calico/typedefs.h&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;calico/world_model.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;ceres/problem.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;Eigen/Dense&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecalico_1_1sensors.html">calico::sensors</a> {</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html">   22</a></span>&#160;<span class="keyword">class </span><a class="code" href="classcalico_1_1sensors_1_1Sensor.html">Sensor</a> {</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  <span class="keyword">virtual</span> ~<a class="code" href="classcalico_1_1sensors_1_1Sensor.html">Sensor</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#aa9491c153bcd2dbba98627d5047cc66a">   27</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#aa9491c153bcd2dbba98627d5047cc66a">SetName</a>(<span class="keyword">const</span> std::string&amp; name) = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a7188f41932ea342932ccc4065281b623">   30</a></span>&#160;  <span class="keyword">virtual</span> <span class="keyword">const</span> std::string&amp; <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a7188f41932ea342932ccc4065281b623">GetName</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#ab0cdb2a4a36500b22c1c27b51955a6a8">   33</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#ab0cdb2a4a36500b22c1c27b51955a6a8">SetExtrinsics</a>(<span class="keyword">const</span> <a class="code" href="classcalico_1_1Pose3.html">Pose3d</a>&amp; T_sensorrig_sensor) = 0;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a1aa9904a248e5d541be7f13d3447ace5">   36</a></span>&#160;  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classcalico_1_1Pose3.html">Pose3d</a>&amp; <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a1aa9904a248e5d541be7f13d3447ace5">GetExtrinsics</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#ad0f96e3a90e36a8797998ec02fab71fc">   39</a></span>&#160;  <span class="keyword">virtual</span> absl::Status <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#ad0f96e3a90e36a8797998ec02fab71fc">SetIntrinsics</a>(<span class="keyword">const</span> Eigen::VectorXd&amp; intrinsics) = 0;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a46837cc3e6eb96518356e5362ca152da">   42</a></span>&#160;  <span class="keyword">virtual</span> <span class="keyword">const</span> Eigen::VectorXd&amp; <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a46837cc3e6eb96518356e5362ca152da">GetIntrinsics</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#af932ab758f883f08ab564ebba781a6e3">   45</a></span>&#160;  <span class="keyword">virtual</span> absl::Status <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#af932ab758f883f08ab564ebba781a6e3">SetLatency</a>(<span class="keywordtype">double</span> latency) = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a16426cb65ee8e154b51bf86e82e0e793">   48</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a16426cb65ee8e154b51bf86e82e0e793">GetLatency</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#aa4fba629e7267af511b70cbcd5727df3">   51</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#aa4fba629e7267af511b70cbcd5727df3">EnableExtrinsicsEstimation</a>(<span class="keywordtype">bool</span> enable) = 0;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#ace74aed01a0a9f152e26205aef3f49f5">   54</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#ace74aed01a0a9f152e26205aef3f49f5">EnableIntrinsicsEstimation</a>(<span class="keywordtype">bool</span> enable) = 0;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a884df42081a0be6e09fe923478324680">   57</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a884df42081a0be6e09fe923478324680">EnableLatencyEstimation</a>(<span class="keywordtype">bool</span> enable) = 0;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#af08e6476f0188cdb77cf912a9026709a">   64</a></span>&#160;  <span class="keyword">virtual</span> absl::Status <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#af08e6476f0188cdb77cf912a9026709a">UpdateResiduals</a>(ceres::Problem&amp; problem) = 0;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a8766d4d9b38c440f7dede45a5b24f432">   67</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a8766d4d9b38c440f7dede45a5b24f432">ClearResidualInfo</a>() = 0;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#ad0a0b27cd6022fe84e141d20a987a2cf">   70</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#ad0a0b27cd6022fe84e141d20a987a2cf">SetLossFunction</a>(</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;      <a class="code" href="namespacecalico_1_1utils.html#aacede3df540b75d2e131f113380f0ce9">utils::LossFunctionType</a> loss, <span class="keywordtype">double</span> scale = 1.0) = 0;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a54f63f5a3b982b444d3a77724ec0a4cd">   78</a></span>&#160;  <span class="keyword">virtual</span> absl::StatusOr&lt;int&gt; <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a54f63f5a3b982b444d3a77724ec0a4cd">AddParametersToProblem</a>(</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      ceres::Problem&amp; problem) = 0;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#a7b60ca0610c6caa6a3278f7da5a251d8">   85</a></span>&#160;  <span class="keyword">virtual</span> absl::StatusOr&lt;int&gt; <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#a7b60ca0610c6caa6a3278f7da5a251d8">AddResidualsToProblem</a>(</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;      ceres::Problem&amp; problem,</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;      <a class="code" href="classcalico_1_1Trajectory.html">Trajectory</a>&amp; sensorrig_trajectory,</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      <a class="code" href="classcalico_1_1WorldModel.html">WorldModel</a>&amp; world_model) = 0;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classcalico_1_1sensors_1_1Sensor.html#afd3eac9105c7168c64212bfdf20f04fa">  101</a></span>&#160;  <span class="keyword">virtual</span> absl::Status <a class="code" href="classcalico_1_1sensors_1_1Sensor.html#afd3eac9105c7168c64212bfdf20f04fa">SetMeasurementNoise</a>(<span class="keywordtype">double</span> sigma) = 0;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;};</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;} <span class="comment">// namespace calico::sensors</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// CALICO_SENSORS_SENSOR_BASE_H_</span></div>
<div class="ttc" id="aclasscalico_1_1Pose3_html"><div class="ttname"><a href="classcalico_1_1Pose3.html">calico::Pose3&lt; double &gt;</a></div></div>
<div class="ttc" id="aclasscalico_1_1Trajectory_html"><div class="ttname"><a href="classcalico_1_1Trajectory.html">calico::Trajectory</a></div><div class="ttdef"><b>Definition:</b> trajectory.h:25</div></div>
<div class="ttc" id="aclasscalico_1_1WorldModel_html"><div class="ttname"><a href="classcalico_1_1WorldModel.html">calico::WorldModel</a></div><div class="ttdef"><b>Definition:</b> world_model.h:73</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html">calico::sensors::Sensor</a></div><div class="ttdef"><b>Definition:</b> sensor_base.h:22</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a16426cb65ee8e154b51bf86e82e0e793"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a16426cb65ee8e154b51bf86e82e0e793">calico::sensors::Sensor::GetLatency</a></div><div class="ttdeci">virtual double GetLatency() const =0</div><div class="ttdoc">Getter for sensor latency.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a1aa9904a248e5d541be7f13d3447ace5"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a1aa9904a248e5d541be7f13d3447ace5">calico::sensors::Sensor::GetExtrinsics</a></div><div class="ttdeci">virtual const Pose3d &amp; GetExtrinsics() const =0</div><div class="ttdoc">Getter for extrinsics parameters.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a46837cc3e6eb96518356e5362ca152da"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a46837cc3e6eb96518356e5362ca152da">calico::sensors::Sensor::GetIntrinsics</a></div><div class="ttdeci">virtual const Eigen::VectorXd &amp; GetIntrinsics() const =0</div><div class="ttdoc">Getter for intrinsics parameters.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a54f63f5a3b982b444d3a77724ec0a4cd"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a54f63f5a3b982b444d3a77724ec0a4cd">calico::sensors::Sensor::AddParametersToProblem</a></div><div class="ttdeci">virtual absl::StatusOr&lt; int &gt; AddParametersToProblem(ceres::Problem &amp;problem)=0</div><div class="ttdoc">Add this sensor's calibration parameters to the ceres problem.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a7188f41932ea342932ccc4065281b623"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a7188f41932ea342932ccc4065281b623">calico::sensors::Sensor::GetName</a></div><div class="ttdeci">virtual const std::string &amp; GetName() const =0</div><div class="ttdoc">Getter for name.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a7b60ca0610c6caa6a3278f7da5a251d8"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a7b60ca0610c6caa6a3278f7da5a251d8">calico::sensors::Sensor::AddResidualsToProblem</a></div><div class="ttdeci">virtual absl::StatusOr&lt; int &gt; AddResidualsToProblem(ceres::Problem &amp;problem, Trajectory &amp;sensorrig_trajectory, WorldModel &amp;world_model)=0</div><div class="ttdoc">Contribue this sensor's residuals to the ceres problem.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a8766d4d9b38c440f7dede45a5b24f432"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a8766d4d9b38c440f7dede45a5b24f432">calico::sensors::Sensor::ClearResidualInfo</a></div><div class="ttdeci">virtual void ClearResidualInfo()=0</div><div class="ttdoc">Clear all stored info about residuals.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_a884df42081a0be6e09fe923478324680"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#a884df42081a0be6e09fe923478324680">calico::sensors::Sensor::EnableLatencyEstimation</a></div><div class="ttdeci">virtual void EnableLatencyEstimation(bool enable)=0</div><div class="ttdoc">Enable or disable latency estimation.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_aa4fba629e7267af511b70cbcd5727df3"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#aa4fba629e7267af511b70cbcd5727df3">calico::sensors::Sensor::EnableExtrinsicsEstimation</a></div><div class="ttdeci">virtual void EnableExtrinsicsEstimation(bool enable)=0</div><div class="ttdoc">Enable or disable extrinsics estimation.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_aa9491c153bcd2dbba98627d5047cc66a"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#aa9491c153bcd2dbba98627d5047cc66a">calico::sensors::Sensor::SetName</a></div><div class="ttdeci">virtual void SetName(const std::string &amp;name)=0</div><div class="ttdoc">Setter for name.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_ab0cdb2a4a36500b22c1c27b51955a6a8"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#ab0cdb2a4a36500b22c1c27b51955a6a8">calico::sensors::Sensor::SetExtrinsics</a></div><div class="ttdeci">virtual void SetExtrinsics(const Pose3d &amp;T_sensorrig_sensor)=0</div><div class="ttdoc">Setter for extrinsics parameters.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_ace74aed01a0a9f152e26205aef3f49f5"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#ace74aed01a0a9f152e26205aef3f49f5">calico::sensors::Sensor::EnableIntrinsicsEstimation</a></div><div class="ttdeci">virtual void EnableIntrinsicsEstimation(bool enable)=0</div><div class="ttdoc">Enable or disable intrinsics estimation.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_ad0a0b27cd6022fe84e141d20a987a2cf"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#ad0a0b27cd6022fe84e141d20a987a2cf">calico::sensors::Sensor::SetLossFunction</a></div><div class="ttdeci">virtual void SetLossFunction(utils::LossFunctionType loss, double scale=1.0)=0</div><div class="ttdoc">Setter for loss function and scale.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_ad0f96e3a90e36a8797998ec02fab71fc"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#ad0f96e3a90e36a8797998ec02fab71fc">calico::sensors::Sensor::SetIntrinsics</a></div><div class="ttdeci">virtual absl::Status SetIntrinsics(const Eigen::VectorXd &amp;intrinsics)=0</div><div class="ttdoc">Setter for intrinsics parameters.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_af08e6476f0188cdb77cf912a9026709a"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#af08e6476f0188cdb77cf912a9026709a">calico::sensors::Sensor::UpdateResiduals</a></div><div class="ttdeci">virtual absl::Status UpdateResiduals(ceres::Problem &amp;problem)=0</div><div class="ttdoc">Update residuals for this sensor.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_af932ab758f883f08ab564ebba781a6e3"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#af932ab758f883f08ab564ebba781a6e3">calico::sensors::Sensor::SetLatency</a></div><div class="ttdeci">virtual absl::Status SetLatency(double latency)=0</div><div class="ttdoc">Setter for sensor latency.</div></div>
<div class="ttc" id="aclasscalico_1_1sensors_1_1Sensor_html_afd3eac9105c7168c64212bfdf20f04fa"><div class="ttname"><a href="classcalico_1_1sensors_1_1Sensor.html#afd3eac9105c7168c64212bfdf20f04fa">calico::sensors::Sensor::SetMeasurementNoise</a></div><div class="ttdeci">virtual absl::Status SetMeasurementNoise(double sigma)=0</div><div class="ttdoc">Set the measurement noise .</div></div>
<div class="ttc" id="anamespacecalico_1_1sensors_html"><div class="ttname"><a href="namespacecalico_1_1sensors.html">calico::sensors</a></div><div class="ttdoc">Sensors namespace.</div><div class="ttdef"><b>Definition:</b> accelerometer.cpp:8</div></div>
<div class="ttc" id="anamespacecalico_1_1utils_html_aacede3df540b75d2e131f113380f0ce9"><div class="ttname"><a href="namespacecalico_1_1utils.html#aacede3df540b75d2e131f113380f0ce9">calico::utils::LossFunctionType</a></div><div class="ttdeci">LossFunctionType</div><div class="ttdef"><b>Definition:</b> optimization_utils.h:15</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
